package com.mianyang.zhangsan.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDate;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 * 
 * </p>
 *
 * @author jiangjr
 * @since 2022-10-23
 */
@Data
@Builder
@TableName("sec_file")
@ApiModel(value = "SecFile对象", description = "")
public class SecFile implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("文件编号")
    @TableId(value = "file_id", type = IdType.AUTO)
    private Long fileId;

    @ApiModelProperty("文件名称")
    private String fileName;

    @ApiModelProperty("文件路径")
    private String filePath;

    @ApiModelProperty("目录编号")
    private Long menuId;

    @ApiModelProperty("文件类型")
    private Integer fileType;

    @ApiModelProperty("文件大小")
    private Long fileSize;

    @ApiModelProperty("文件时长")
    private Integer fileTime;

    @ApiModelProperty("上传用户id")
    private Long uploadId;

    @ApiModelProperty("上传用户姓名")
    private String uploadName;

    @ApiModelProperty("上传时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date uploadTime;


}
